<template>
  <iframe id="iframe" :src="`/logs.html?teamid=` + teamid"></iframe>
</template>

<script lang="ts">
import { computed, defineComponent } from "vue";
import { useRoute } from "vue-router";

export default defineComponent({
  setup() {
    const route = useRoute();
    const teamid = computed(() => {
      return route.query.teamid;
    });

    return {
      teamid,
    };
  },
});
</script>


<style scoped>
#iframe {
  width: 100%;
  height: calc(100vh - 89px);
}
</style>